package com.kjc.demo.basic;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestAnnotationApplication {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(TestAnnotationApplication.class);
		System.out.println(context.getApplicationName());
	}
}
